package com.yami.shop.consign.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.vo.MarketAnalysisVO;
import com.yami.shop.bean.vo.UpDownVO;
import com.yami.shop.consign.common.model.ConsignAnalysis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConsignAnalysisMapper extends BaseMapper<ConsignAnalysis> {

    List<MarketAnalysisVO> getMarketList(@Param("sort") Integer sort, @Param("type") Integer type, @Param("userId") String userId, @Param("prodName") String prodName);

    List<ConsignAnalysis> getList();

    List<UpDownVO> getUpsDowns(@Param("userId") String userId);

    ConsignAnalysis getByProdId(@Param("prodId") Integer prodId);

}